#for的基本用法
s1 = 'abc'
l1 =['a', 'b', 'c']
t1 =('tom', 'jerry', 'bob', 'alice')
d1 ={'name': 'tom', 'age': '23'}

for zifu in s1:
    print(zifu)

for i in l1:
    print(i)

for name in t1:
    print(name)
#
# for k in d1:
#     print(k, d1[k])
for k in d1:
    print(k, d1[k])
